<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.manage.messenger.MessengerUserVo"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="<%=basePath%>/images/css.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"/></script>
<script>
	
</script>
<%	
	MessengerUserVo vo = new MessengerUserVo();
	if(request.getAttribute("messengerUserVo") !=null){
		 vo = (MessengerUserVo)request.getAttribute("messengerUserVo");
	}
 %>
</head>

<body class="bg_003">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="201" height="30" align="center" background="<%=basePath%>/images/016.jpg"><table width="75%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="25"><img src="<%=basePath%>/images/1.png" width="16" height="16"></td>
        <td><strong>信息员信息查询</strong></td>
      </tr>
    </table></td>
    <td align="right" background="<%=basePath%>/images/017.jpg" class="zi_006">信息员管理</td>
    <td width="39"><img src="<%=basePath%>/images/018.jpg" width="39" height="30"></td>
  </tr>
</table>
<form id="queryForm" name="queryForm" action="<%=path %>/system/messagerQuery.action" method="post">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="1" bgcolor="#e1e1e2"></td>
        <td height="100" align="center">
        <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#e1e1e1">
          <tr>
           <td width="10%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>信息员编号：</td>
            <td width="22%" height="31" bgcolor="#f5f5f5" align="left"><input name="messengerUserVo.appointmentnum" type="text" id="ordernum" size="14" value="<%=vo.getAppointmentnum() %>"></td>
      		<td width="12%" height="31" align="right" bgcolor="#f5f5f5">负责区域：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5" align="left"><input name="messengerUserVo.area" type="text" id="area_id" size="14">
          </tr>
        </table>
        
        <td width="1" bgcolor="#e1e1e2"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
  			<%
  					if(vo.getApppintmentdate()==null){
  						vo.setApppintmentdate("无");
  					}
  					if(vo.getIdcardnumber()==null){
  						vo.setIdcardnumber("无");
  					}
  					if(vo.getAddress()==null){
  						vo.setAddress("无");
  					}
  					if(vo.getPhonenumber()==null){
  						vo.setPhonenumber("无");
  					}
  					if(vo.getPosition()==null){
  						vo.setPosition("无");
  					}
  					if(vo.getName()==null){
  						vo.setName("无");
  					}
  					if(vo.getArea()==null){
  						vo.setArea("无");
  					}
  					if(vo.getCorporation()==null){
  						vo.setCorporation("无");
  					}else if(vo.getCorporation().equals("1")){
  						vo.setCorporation("五里明");
  					}else if(vo.getCorporation().equals("2")){
  						vo.setCorporation("五站");
  					}else if(vo.getCorporation().equals("3")){
  						vo.setCorporation("昌五");
  					}else if(vo.getCorporation().equals("4")){
  						vo.setCorporation("宋站");
  					}
  					if(vo.getAppointmentnum()==null){
  						vo.setAppointmentnum("无");
  					}
  					if(vo.getGender()==null){
  						vo.setGender("无");
  					}else if(vo.getGender().equals("0")){
  						vo.setGender("男");
  					}else{
  						vo.setGender("女");
  					}
  					if(vo.getNation()==null){
  						vo.setNation("无");
  					}
  					if(vo.getReligion()==null){
  						vo.setReligion("无");
  					}else if(vo.getReligion().equals("0")){
  						vo.setReligion("党员");
  					}else if(vo.getReligion().equals("1")){
  						vo.setReligion("团员");
  					}else if(vo.getReligion().equals("2")){
  						vo.setReligion("群众");
  					}
  			 %>
  <!-- 所属人信息 -->
        <table id='persontable' width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#e1e1e1">
          <tr>
          <tr>
	        <td width="25" bgcolor="#CCFFCC"><img src="<%=basePath%>/images/1.png" width="16" height="16"></td>
	        <td bgcolor="#CCFFCC" colspan="5"><strong>信息员面板</strong></td>
          </tr>
			<tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5">姓名：</td>
            <td width="22%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.name" type="text" id="user_name" size="14" disabled='true' value=<%=vo.getName() %>></td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5">性别：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5"><input size="14"  name="messengerUserVo.gender" type="text" id="sex" width="100%" disabled='true' value=<%=vo.getGender() %>></td>
            <td width="16%" height="31" align="right" bgcolor="#f5f5f5">职务：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.position" type="text" id="liveposition" size="14" disabled='true' value=<%=vo.getPosition() %>></td>
          </tr>
          <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5">政治面貌：</td>
            <td width="22%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.religion" type="text" id="politicalstatus" size="14" disabled='true' value=<%=vo.getReligion() %>></td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5">联系电话：</td>
           	<td width="20%" height="31" bgcolor="#f5f5f5"><input size="14"  name="messengerUserVo.phonenumber" type="text" id="mobile" width="100%" disabled='true' value=<%=vo.getPhonenumber() %>></td>
            <td width="16%" height="31" align="right" bgcolor="#f5f5f5">身份证：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.idcardnumber" type="text" id="idcard" size="14" disabled='true' value=<%=vo.getIdcardnumber() %>></td>
          </tr>
          <tr>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5">现居地址：</td>
           	<td width="20%" height="31" bgcolor="#f5f5f5"><input size="14"  name="messengerUserVo.address" type="text" id="liveaddress" width="100%" disabled='true' value=<%=vo.getAddress() %>></td>
            <td width="16%" height="31" align="right" bgcolor="#f5f5f5">负责区域：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5" colspan="5"><input name="messengerUserVo.area" type="text" id="dutyarea" size="60" disabled='true' value=<%=vo.getArea() %>></td>
          </tr>
          
           <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5">聘用编号：</td>
            <td width="22%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.appointmentnum" type="text" id="ordernum" size="14" disabled='true' value=<%=vo.getAppointmentnum() %>></td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5">聘用日期：</td>
           	<td width="20%" height="31" bgcolor="#f5f5f5"><input size="14"  name="messengerUserVo.apppintmentdate" type="text" id="engagedate" width="100%" disabled='true' value=<%=vo.getApppintmentdate() %>></td>
            <td width="16%" height="31" align="right" bgcolor="#f5f5f5">辖区中队：</td>
            <td width="20%" height="31" bgcolor="#f5f5f5"><input name="messengerUserVo.corporation" type="text" id="detachment" size="14" disabled='true' value=<%=vo.getCorporation() %>></td>
          </tr>
          
        </table>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="5" height="5"><img src="<%=basePath%>/images/019.jpg" width="5" height="5"></td>
        <td width="100%" height="5" class="bg_002"></td>
        <td width="5" height="5"><img src="<%=basePath%>/images/020.jpg" width="5" height="5"></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
<table width="603" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="26">&nbsp;</td>
  </tr>
</table>
</body>
</html>